package nc.impl.acm.ds.dateend;

import java.util.ArrayList;

import nc.bs.acm.ds.dateend.DateendDMO;
import nc.itf.acm.ds.dateend.IDateend;
import nc.vo.acm.ds.dateend.DateendVO;
import nc.vo.pub.BusinessException;
import nc.vo.pub.lang.UFDate;

public class DateendImpl implements IDateend {

	public DateendImpl() {
		super();
	}

	public String queryAccperiod(UFDate curDate) throws BusinessException {
		return new DateendDMO().queryAccperiod(curDate);
	}

	public ArrayList<DateendVO> queryDateendVOs(String pk_corp, String pk_accperiodmonth) throws BusinessException {
		return new DateendDMO().queryDateendVOs(pk_corp, pk_accperiodmonth);
	}

	public void dateEnd(ArrayList<DateendVO> dateendVos, String pk_corp,String userid) throws BusinessException {
		new DateendDMO().dateEnd(dateendVos, pk_corp,userid);
	}

	public void unDateEnd(ArrayList<DateendVO> dateendVos, String pk_corp,String userid) throws BusinessException {
		new DateendDMO().unDateEnd(dateendVos, pk_corp,userid);
	}

	public UFDate queryMaxDateByCorp(String pk_corp) throws BusinessException {
		return new DateendDMO().queryMaxDateByCorp(pk_corp);
	}

}
